home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 November / november_2001.iso / Browsers / Netscape 6.1 / browser.xpi / bin / chrome / toolkit.jar / content / global / filepicker.xul < prev    next >
Encoding:
Extensible Markup Language  |  2001-05-23  |  3.4 KB  |  94 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Mozilla Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/MPL/
  8.     
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.     
  14.    - The Original Code is mozilla.org code.
  15.    
  16.    - The Initial Developer of the Original Code is Netscape
  17.    - Communications Corporation. Portions created by Netscape are
  18.    - Copyright (C) 2000 Netscape Communications Corporation.
  19.    - All Rights Reserved.
  20.    
  21.    - Contributor(s): 
  22.    -  Stuart Parmenter <pavlov@netscape.com>
  23.    -  Brian Ryner <bryner@netscape.com>
  24.    -  Jan Varga <varga@utcru.sk>
  25.    -  Peter Annema <disttsc@bart.nl>
  26.    -->
  27.  
  28. <?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?>
  29.  
  30. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  31.  
  32. <!DOCTYPE window SYSTEM "chrome://global/locale/filepicker.dtd" >
  33.  
  34. <window id="main-window"
  35.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  36.   xmlns:nc="http://home.netscape.com/NC-rdf#"
  37.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  38.   orient="vertical"
  39.   onload="filepickerLoad();"
  40.   width="426" height="300"
  41.   class="dialog"
  42.   persist="screenX screenY">
  43.  
  44. <stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/>
  45. <script type="application/x-javascript" src="chrome://global/content/nsFileView.js"/>
  46. <script type="application/x-javascript" src="chrome://global/content/filepicker.js"/>
  47. <keyset id="dialogKeys"/>
  48.  
  49. <box autostretch="never">
  50.   <text value="&lookInMenuList.label;"/>
  51.   <menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="left">
  52.     <menupopup id="lookInMenu"/>
  53.   </menulist>
  54.   <button label=".." oncommand="goUp();"/>
  55. </box>
  56.  
  57. <box flex="1">
  58.   <outliner id="directoryOutliner" flex="1" onclick="onClick(event);"
  59.             ondblclick="onDblClick(event);">
  60.     <outlinercol id="FilenameColumn" label="&name.label;" flex="1"
  61.                  class="outlinercol-header outlinercell-inset-header sortDirectionIndicator"/>
  62.     <splitter class="tree-splitter"/>
  63.     <outlinercol id="FileSizeColumn" label="&size.label;" flex="1"
  64.                  class="outlinercol-header outlinercell-inset-header sortDirectionIndicator"/>
  65.     <splitter class="tree-splitter"/>
  66.     <outlinercol id="LastModifiedColumn" label="&lastModified.label;" flex="1"
  67.                  class="outlinercol-header outlinercell-inset-header sortDirectionIndicator"/>
  68.  
  69.     <outlinerbody flex="1" onselect="this.parentNode.outlinerBoxObject.view.selectionChanged()"/>
  70.    </outliner>
  71. </box>
  72.  
  73. <grid style="margin-top: 5px">
  74.   <columns>
  75.     <column/>
  76.     <column flex="1"/>
  77.   </columns>
  78.  
  79.   <rows>
  80.     <row>
  81.       <text value="&textInput.label;"/>
  82.       <textbox id="textInput" flex="1" oninput="doEnabling()"/>
  83.     </row>
  84.     <row id="filterBox" hidden="true">
  85.       <text value="&filterMenuList.label;"/>
  86.       <menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/>
  87.     </row>
  88.   </rows>
  89. </grid>
  90.  
  91. <box id="okCancelButtons"/>
  92.  
  93. </window>
  94.